home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 1⁄5⁄90 / 0302-Cmd w⁄2 Docs?-Jan90 < prev    next >
Encoding:
Text File  |  1990-01-05  |  789 b   |  20 lines  |  [TEXT/GEOL]

  1. Item    6842081                         3-Jan-90        11:53
  2.  
  3. From:   D5369                           Mgmt Sys Des, Chuck McMath,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    Cmd w/2 Docs?
  8.  
  9. I'm trying to write a command object that affects two different documents.  The
  10. problem is that the command can be done when either of the document's views is
  11. active, so I want the command to be undo-able from EITHER document.  MacApp
  12. won't let me do that.  MacApp's rules are: if the fChangedDocument field of the
  13. command is NIL, the undo text of the last command is always enabled; if that
  14. field is not-NIL, then MacApp enables the undo text only when the changed
  15. document is the current document (btw, this takes place in
  16. TApplication.SetupTheMenus).
  17.  
  18. Any ideas?
  19.  
  20.